//
//  FSArchiveCache.h
//  BizClientKit
//
//  Created by Cool Camel on 17/4/23.
//  Copyright © 2017年 www.biz-united.com.cn. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IBizCache.h"

@interface FSArchiveCache : NSObject<IBizCache>
@property (nonatomic, strong, readonly, nonnull) NSString * name;

+ (BOOL)cacheIsExistWithName:(nonnull NSString *)name;

//- (nullable instancetype)init;
- (nullable instancetype)initWithName:(nonnull NSString *)name;
- (BOOL)updateWithKey:(nonnull NSString *)key Object:(nonnull id)object;
- (BOOL)deleteWithKey:(nonnull NSString *)key;
- (nullable id)loadObjectWithKey:(nonnull NSString *)key;
- (nonnull NSDictionary<NSString *, NSDictionary *> *)allObjects;
@end
